package com.woniuxy.driverschool.entity;

/**
 * 学员类
 * @author lhc
 * @create 2021-09-28 16:41
 */
public class ResponseResult<T> {
    /**
     * 展示的数据
     */
    private T data;
    /**
     * 状态码200,500
     */
    private Integer state;
    /**
     * 字符串信息
     */
    private String message;

    public ResponseResult(T data, Integer state, String message) {
        super();
        this.data = data;
        this.state = state;
        this.message = message;
    }

    public ResponseResult() {
        super();
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    @Override
    public String toString() {
        return "ResponseResult [data=" + data + ", state=" + state + ", message=" + message + "]";
    }

}
